var logger = {
  // eslint-disable-next-line no-console
  log: console.log,
  // eslint-disable-next-line no-console
  success: console.log,
  // eslint-disable-next-line no-console
  fail: console.warn
};
export var setLogger = function setLogger(logger) {
  logger = logger;
};
export var log = function log() {
  if (logger.log) logger.log.apply(logger, arguments);
};
export var success = function success() {
  if (logger.success) logger.success.apply(logger, arguments);
};
export var fail = function fail() {
  if (logger.fail) logger.fail.apply(logger, arguments);
};